package com.crm.controller;

import com.crm.pojo.common.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/system/config")
@Slf4j
public class ConfigController {

    @GetMapping("/configKey/sys.user.initPassword")
    public Result initPassword(){
        Result<Object> result = new Result<>();
        result.setMessage("123456");
        result.setCode(200);
        return result;
    }
}
